package com.hirsi.module.department.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("编辑部门信息参数")
@Data
public class EditDepartmentVo {

    @ApiModelProperty("部门id，更新时才传")
    private Integer id;

    @ApiModelProperty(value = "父级部门id，顶级部门为0", position = 1)
    private Integer pid = 0;

    @ApiModelProperty(value = "部门名称", required = true, position = 2)
    private String name;
}
